﻿<%@ Page Language="VB" MasterPageFile="~/WebForm/MasterPage.master" AutoEventWireup="false"
    CodeFile="SelfManageWorkHeader.aspx.vb" Inherits="WebForm_SelfManageWorkHeader"  %>
<%@ Register Src="~/WebForm/SelfManageWorkHeader/SearchWorkHeader.ascx" TagName="SearchWorkHeader" TagPrefix="My" %>
<%@ Register Src="~/WebForm/SelfManageWorkHeader/SelfAddWorkHeader.ascx" TagName="AddWorkHeader" TagPrefix="My" %>
<%@ Register Src="~/WebForm/UpdateProgress.ascx" TagName="UpdateProgress" TagPrefix="My" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdateProgress ID="progress1" runat="server">
        <ProgressTemplate>
            <my:UpdateProgress ID="myprogress1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <table width="95%" align="center">
        <tr>
            <td align="center">
                <asp:Label ID="Title" runat="server" SkinID="title" meta:resourcekey="Title"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:LinkButton ID="lknAdd" runat="server" meta:resourcekey="lknAdd"></asp:LinkButton>
            </td>
        </tr>        
        <tr>
            <td>
<%--                <asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="lknAdd" />
                    </Triggers>
                    <ContentTemplate>--%>
<ajaxToolkit:TabContainer id="TabContainer1" runat="server" AutoPostBack="false" ActiveTabIndex="0">
                            <ajaxToolkit:TabPanel ID="SearchTabPanel" runat="server" meta:resourcekey="SearchTabPanel">
                                <ContentTemplate>
                                    <My:SearchWorkHeader ID="SearchWorkHeader1" runat="server" />
                                
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel ID="AddTabPanel" runat="server" meta:resourcekey="AddTabPanel">
                                <ContentTemplate>
                                    <My:AddWorkHeader ID="AddWorkHeader1" runat="server" DataAccessMode="Insert" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                        </ajaxToolkit:TabContainer> 
<%--</ContentTemplate>
                </asp:UpdatePanel>--%>
            </td>
        </tr>
    </table>
</asp:Content>
